package org.jeecg.modules.lab.utensil.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 器具检测详情清单
 * @Author: jeecg-boot
 * @Date:   2023-09-25
 * @Version: V1.0
 */
@ApiModel(value="lab_utensil_checklist对象", description="器具检测详情清单")
@Data
@TableName("lab_utensil_checklist")
public class LabUtensilChecklist implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**器具名称*/
	@Excel(name = "器具名称", width = 15)
    @ApiModelProperty(value = "器具名称")
    private String uteName;
	/**型号规格*/
	@Excel(name = "型号规格", width = 15)
    @ApiModelProperty(value = "型号规格")
    private String uteType;
	/**出厂编号*/
	@Excel(name = "出厂编号", width = 15)
    @ApiModelProperty(value = "出厂编号")
    private String uteRef;
	/**器具附件*/
	@Excel(name = "器具附件", width = 15)
    @ApiModelProperty(value = "器具附件")
    private String annex;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private Integer number;
	/**是否现场校验*/
	@Excel(name = "是否现场校验", width = 15, dicCode = "yn")
    @ApiModelProperty(value = "是否现场校验")
    private String locale;
	/**检测要求*/
	@Excel(name = "检测要求", width = 15)
    @ApiModelProperty(value = "检测要求")
    private String checkAsk;
	/**课题号*/
	@Excel(name = "课题号", width = 15)
    @ApiModelProperty(value = "课题号")
    private String task;
	/**收件人*/
	@Excel(name = "收件人", width = 15)
    @ApiModelProperty(value = "收件人")
    private String recPerson;
	/**收件时间*/
	@Excel(name = "收件时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "收件时间")
    private Date recDate;
	/**取件人*/
	@Excel(name = "取件人", width = 15)
    @ApiModelProperty(value = "取件人")
    private String getPerson;
	/**取件时间*/
	@Excel(name = "取件时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "取件时间")
    private Date getDate;
	/**溯源方式*/
	@Excel(name = "溯源方式", width = 15, dicCode = "last_type")
    @ApiModelProperty(value = "溯源方式")
    private String lastType;
	/**溯源单位*/
	@Excel(name = "溯源单位", width = 15)
    @ApiModelProperty(value = "溯源单位")
    private String lastFirm;
	/**溯源日期*/
	@Excel(name = "溯源日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "溯源日期")
    private Date lastDate;
	/**有效期*/
	@Excel(name = "有效期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "有效期")
    private Date indate;
	/**检测证书*/
	@Excel(name = "检测证书", width = 15)
    @ApiModelProperty(value = "检测证书")
    private String certificate;
	/**费用*/
	@Excel(name = "费用", width = 15)
    @ApiModelProperty(value = "费用")
    private Double fee;
	/**费用单*/
	@Excel(name = "费用单", width = 15)
    @ApiModelProperty(value = "费用单")
    private String feeList;
	/**检测结果*/
	@Excel(name = "检测结果", width = 15)
    @ApiModelProperty(value = "检测结果")
    private String checkResult;
	/**准用范围*/
	@Excel(name = "准用范围", width = 15)
    @ApiModelProperty(value = "准用范围")
    private String usedRange;
	/**其他说明*/
	@Excel(name = "其他说明", width = 15)
    @ApiModelProperty(value = "其他说明")
    private String otherShow;
	/**委托单id*/
    @ApiModelProperty(value = "委托单id")
    private String checkId;
	/**所属部门*/
	@Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
    private String department;
	/**所属委托单*/
	@Excel(name = "所属委托单", width = 15)
    @ApiModelProperty(value = "所属委托单")
    private String checkRef;
	/**器具检测状态*/
	@Excel(name = "器具检测状态", width = 15)
    @ApiModelProperty(value = "器具检测状态")
    private String listState;
	/**责任人*/
	@Excel(name = "责任人", width = 15)
    @ApiModelProperty(value = "责任人")
    private String dri;

    //器具id
    private String uteId;
    /**数据同步标识*/
    @ApiModelProperty(value = "数据同步标识")
    private java.lang.String synFlag;
}
